package com.hxzy.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hxzy.common.core.domain.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;

/**
 * 后台用户
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     *  spring security登录，根据用户查询用户信息
     * @param userName
     * @return
     */
    SysUser selectUserByUserName(String userName);
}
